.. _CVidDrawable Class: ========================== CVidDrawable Class ========================== .. toctree:: :maxdepth: 1 * :ref:`Overview` * :ref:`Quick Reference` * :ref:`Constructors` * :ref:`Methods` ---- .. _CVidDrawable_Overview: Overview --------------- .. note:: The **CVidDrawable** class handles The structure used for this class is :ref:`CVidDrawable` ---- .. _CVidDrawable_QuickRef: Quick Reference --------------- +--------------------------------------------------------------------------------------------------------------------------+ | **Quick Ref** | +--------------------------------------------------------------------------------------------------------------------------+ | void **CVidDrawable\:\:CVidDrawable**\() | +--------------------------------------------------------------------------------------------------------------------------+ | void **CVidDrawable\:\:~CVidDrawable**\() | +--------------------------------------------------------------------------------------------------------------------------+ | void **CVidDrawable\:\:GetSize**\(:ref:`CSize`\& sz) | +--------------------------------------------------------------------------------------------------------------------------+ | int **CVidDrawable\:\:Render**\(int x, int y, :ref:`CRect`\& r, :ref:`CRect`\& rClip, unsigned long flags) | +--------------------------------------------------------------------------------------------------------------------------+ | void **CVidDrawable\:\:SetResRef**\(:ref:`CResRef`\& cNewResRef, int bSetAutoRequest) | +--------------------------------------------------------------------------------------------------------------------------+ ---- .. _CVidDrawable_Constructors: Constructors --------------- +---------------------------------------------------------------+------------------------------------------------------+ | **Name** | **Description** | +---------------------------------------------------------------+------------------------------------------------------+ | :ref:`CVidDrawable\:\:CVidDrawable` | Constructs a ``CVidDrawable`` object | +---------------------------------------------------------------+------------------------------------------------------+ | :ref:`CVidDrawable\:\:CVidDrawable`| Destroys a ``CVidDrawable`` object | +---------------------------------------------------------------+------------------------------------------------------+ .. _CVidDrawableCVidDrawable: CVidDrawable\:\:CVidDrawable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Constructs a ``CVidDrawable`` object :: void CVidDrawable::CVidDrawable(); **Remarks** Constructs a ``CVidDrawable`` object ---- .. _CVidDrawable~CVidDrawable: CVidDrawable\:\:~CVidDrawable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Destroys the ``CVidDrawable`` object :: virtual void CVidDrawable::~CVidDrawable(); **Remarks** Destroys the ``CVidDrawable`` object ---- .. _CVidDrawable_Methods: Methods --------------- +---------------------------------------------------------+-----------------------------------------------------------------------------------------+ | **Name** | **Description** | +---------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVidDrawable\:\:GetSize` | | +---------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVidDrawable\:\:Render` | | +---------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVidDrawable\:\:SetResRef` | | +---------------------------------------------------------+-----------------------------------------------------------------------------------------+ ---- .. _CVidDrawableGetSize: CVidDrawable\:\:GetSize ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVidDrawable::GetSize(CSize& sz); **Parameters** * :ref:`CSize`\& *sz* - **Remarks** ---- .. _CVidDrawableRender: CVidDrawable\:\:Render ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: int CVidDrawable::Render( int x, int y, CRect& r, CRect& rClip, unsigned long flags); **Parameters** * ``int`` *x* - * ``int`` *y* - * :ref:`CRect`\& *r* - * :ref:`CRect`\& *rClip* - * ``unsigned long`` *flags* - **Return Value** Returns ``int`` **Remarks** ---- .. _CVidDrawableSetResRef: CVidDrawable\:\:SetResRef ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVidDrawable::SetResRef( CResRef& cNewResRef, int bSetAutoRequest); **Parameters** * :ref:`CResRef`\& *cNewResRef* - * ``int`` *bSetAutoRequest* - **Remarks**